package com.qfedu.yuxiaoer.mapper;

import com.qfedu.yuxiaoer.entity.MyApartment;
import com.qfedu.yuxiaoer.entity.MyApartmentExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface MyApartmentMapper {
    long countByExample(MyApartmentExample example);

    int deleteByExample(MyApartmentExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(MyApartment record);

    int insertSelective(MyApartment record);

    List<MyApartment> selectByExample(MyApartmentExample example);

    MyApartment selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") MyApartment record, @Param("example") MyApartmentExample example);

    int updateByExample(@Param("record") MyApartment record, @Param("example") MyApartmentExample example);

    int updateByPrimaryKeySelective(MyApartment record);

    int updateByPrimaryKey(MyApartment record);
}